#pragma once

#include "e2d/core/pch.h"
#include "e2d/core/Settings.h"
#include "e2d/ui/State.h"

#include "fxcc/imgui/Layer.h"

namespace e2d
{
	struct EffectsEditor :public fxcc::imgui::Layer
	{
		std::shared_ptr<e2d::EffectsDesc> m_Inst{ 0 };

		std::string m_InstPath;

		EffectsEditor();

		void HandleFunc() override;

		void ViewFunc() override;

		void Load();

		void LoadLastPath();

		bool OnSaveData();

		void SaveLastPath();

		void OnDestroy() override;

		std::string CH_Path();

	};
};